package vip.xiaonuo.h5.royalty.modular.order.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Getter;
import lombok.Setter;
import vip.xiaonuo.biz.modular.org.entity.BizOrg;
import vip.xiaonuo.h5.royalty.system.gun.entity.H5Gun;
import vip.xiaonuo.h5.royalty.system.pile.entity.H5Pile;

import java.math.BigDecimal;

/**
 * 订单基本信息VO
 */
@Getter
@Setter
public class OrderVo implements TransPojo {

    /**
     * 翻译id
     */
    @JsonIgnore
    private String id;

    /**
     * 运营商ID
     */
    @JsonIgnore
    @Trans(type = TransType.SIMPLE, target = BizOrg.class, fields = "name", ref = "orgName")
    private String orgId;

    /**
     * 充电桩ID
     */
    @JsonIgnore
    @Trans(type = TransType.SIMPLE, target = H5Pile.class, fields = "name", ref = "pileName")
    private String pileId;

    /**
     * 充电枪ID
     */
    @JsonIgnore
    @Trans(type = TransType.SIMPLE, target = H5Gun.class, fields = "name", ref = "gunName")
    private String gunId;

    /**
     * 分润订单表主键ID
     */
    private String profitOrderId;

    /**
     * 运营商名称
     */
    private String orgName;

    /**
     * 充电站名称
     */
    private String stationName;

    /**
     * 充电桩名称
     */
    private String pileName;

    /**
     * 充电枪名称
     */
    private String gunName;

    /**
     * 入账时间
     */
    private String inComeTime;

    /**
     * 总服务费
     */
    private BigDecimal serviceFeeTotal;

    /**
     * 分润比例
     */
    private BigDecimal shareRatio;

    /**
     * 实际收入
     */
    private BigDecimal actualIncome;

    /**
     * 其他费用
     */
    private BigDecimal otherFee;

}
